package com.bbm.communitysystem.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author bbm
 * @since 2025-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("chat_history")
public class ChatHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 隶属哪个聊天列表id
     */
    private Long chatPageId;

    /**
     *  用户说的还是ai
     * */
    private String type;

    /**
     * 思考内容
     */
    private String thinkContent;

    /**
     * 内容
     */
    private String content;

    /**
     * 显示时间
     */
    private String showTime;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 1正常显示 0不正常显示
     */
    private Integer status;


}
